package com.dong.service;

import com.dong.dao.IOrdersDao;
import com.dong.entity.Orders;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("ordersService")
public class OrdersService implements IOrdersService {
    @Autowired
    private IOrdersDao ordersDao;
    @Override
    public List<Orders> findAllOrders() {
        return ordersDao.findAllOrders();
    }
}
